"""
@file:   __init__.py.py
@author: Shuai
@date:   2020/04/30
"""
from libs.nestable_blueprint import NestableBlueprint
from .user import user_bp


def init_app(app):
    app.register_blueprint(user_bp)


# 把user蓝图注册到api蓝图上
api_bp = NestableBlueprint('api', __name__, url_prefix='/v1/api/')
init_app(api_bp)
# api_bp.register_blueprint(user_bp)
